import React from 'react';
import {context} from './_';
@context('app')
export default class Title extends React.Component {
    render() {
        const {app: {title = ''} = {}} = this.props;
        document.title = title;
        return (<span>{title}</span>);
    }
}
